<html><head><title>IsSound</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">IsSound()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#3A3966"><b>IsSound</b></font>(#Sound)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Tests if the specified number is a valid and correctly initialized sound. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Sound</i></td>
<td width="90%"> 
The sound to use. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Nonzero if the specified number is a valid sound, zero otherwise. 

</blockquote><p><b>Remarks</b></p><blockquote>

This function is bulletproof and can be used with any value. This is the correct way to ensure a sound is ready to use. 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">If</font></b> <font color="#3A3966">IsSound</font>(0) = 0
<font color="#3A3966">    MessageRequester</font>(&quot;Info&quot;, &quot;The sound is not valid.&quot;) 
  <b><font color="#3A3966">EndIf</font></b>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="freesound.html">FreeSound()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=initsound.html>InitSound()</a> - <a href="index.html">Sound Index</a> - <a href="loadsound.html">LoadSound()</a> -><br><br>

</body></html>